var express = require('express');
var router = express.Router();

router.get('/', function(req, res, next) {
	res.send('商品信息接口');
});

/**
 * @api {GET} /frontend/basedata/getHomeData 首页信息
 * @apiName GetHomeData
 * @apiGroup Goods
 * 
 * @apiParam {String} accessToken 用户验证
 */
router.get('/getHomeData', function(res, res, next) {
	res.json(JSON.parse(require('../../json/homeData.js').homeData))
})

module.exports = router;